package image;

/**
 * Basic Pixel storage class
 * See Sarasong.inputs.PixelInput for a webcam pixel interpreter.
 * 
 * @author Dylan James
 *
 */
public class Pixel {
	private int red, green, blue;
	private long xpos, ypos;
	
	public Pixel(int red, int green, int blue, long xpos, long ypos)
	{
		this.red = red;
		this.green = green;
		this.blue = blue;
		this.xpos = xpos;
		this.ypos = ypos;
	}
	
	public int getRed()
	{
		return this.red;
	}
	
	public int getGreen()
	{
		return this.green;
	}
	
	public int getBlue()
	{
		return this.blue;
	}
	
	public long getXPosition()
	{
		return this.xpos;
	}
	
	public long getYPosition()
	{
		return this.ypos;
	}
	
	public void setRed(int value)
	{
		this.red = value;
	}
	
	public void setGreen(int value)
	{
		this.green = value;
	}
	
	public void setBlue(int value)
	{
		this.blue = value;
	}
	
	public void setXPosition(long value)
	{
		this.xpos = value;
	}
	
	public void setYPosition(long value)
	{
		this.ypos = value;
	}
}